package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/Repair.class */
public class Repair implements Serializable {
    private static final long serialVersionUID = -27997719590997642L;
    @ApiModelProperty("主键(添加时不传)")
    private Integer id;
    @ApiModelProperty("资产id集合")
    private String assetsIds;
    @ApiModelProperty("0:智能、1:基础")
    private Integer type;
    @ApiModelProperty("任务来源")
    private Integer taskSourceId;
    @ApiModelProperty("是否紧急，0是普通，1是紧急")
    private Integer urgent;
    @ApiModelProperty("报修简述")
    private String content;
    @ApiModelProperty("路口名称")
    private Integer roadCrossId;
    @ApiModelProperty("申请人id")
    private Integer userId;
    @ApiModelProperty("审批编号(添加时不传)")
    private String flowNo;
    @ApiModelProperty("上传图片集合")
    private List<UpoladEachTypeImages> uploadFileList;
    @ApiModelProperty("添加时间")
    private String createTime;
    @ApiModelProperty("修改时间")
    private String updateTime;
    @ApiModelProperty("计划开工时间")
    private String planCommenceTime;
    @ApiModelProperty("要求完工时间")
    private String requiredCompletionTime;
    @ApiModelProperty("预算金额")
    private double budgetAmount;
    @ApiModelProperty("维修人id")
    private Integer orderUserId;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setAssetsIds(String assetsIds) {
        this.assetsIds = assetsIds;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setTaskSourceId(Integer taskSourceId) {
        this.taskSourceId = taskSourceId;
    }

    public void setUrgent(Integer urgent) {
        this.urgent = urgent;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setRoadCrossId(Integer roadCrossId) {
        this.roadCrossId = roadCrossId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setFlowNo(String flowNo) {
        this.flowNo = flowNo;
    }

    public void setUploadFileList(List<UpoladEachTypeImages> uploadFileList) {
        this.uploadFileList = uploadFileList;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setPlanCommenceTime(String planCommenceTime) {
        this.planCommenceTime = planCommenceTime;
    }

    public void setRequiredCompletionTime(String requiredCompletionTime) {
        this.requiredCompletionTime = requiredCompletionTime;
    }

    public void setBudgetAmount(double budgetAmount) {
        this.budgetAmount = budgetAmount;
    }

    public void setOrderUserId(Integer orderUserId) {
        this.orderUserId = orderUserId;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Repair)) {
            return false;
        }
        Repair other = (Repair) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$assetsIds = getAssetsIds();
        Object other$assetsIds = other.getAssetsIds();
        if (this$assetsIds == null) {
            if (other$assetsIds != null) {
                return false;
            }
        } else if (!this$assetsIds.equals(other$assetsIds)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        if (this$type == null) {
            if (other$type != null) {
                return false;
            }
        } else if (!this$type.equals(other$type)) {
            return false;
        }
        Object this$taskSourceId = getTaskSourceId();
        Object other$taskSourceId = other.getTaskSourceId();
        if (this$taskSourceId == null) {
            if (other$taskSourceId != null) {
                return false;
            }
        } else if (!this$taskSourceId.equals(other$taskSourceId)) {
            return false;
        }
        Object this$urgent = getUrgent();
        Object other$urgent = other.getUrgent();
        if (this$urgent == null) {
            if (other$urgent != null) {
                return false;
            }
        } else if (!this$urgent.equals(other$urgent)) {
            return false;
        }
        Object this$content = getContent();
        Object other$content = other.getContent();
        if (this$content == null) {
            if (other$content != null) {
                return false;
            }
        } else if (!this$content.equals(other$content)) {
            return false;
        }
        Object this$roadCrossId = getRoadCrossId();
        Object other$roadCrossId = other.getRoadCrossId();
        if (this$roadCrossId == null) {
            if (other$roadCrossId != null) {
                return false;
            }
        } else if (!this$roadCrossId.equals(other$roadCrossId)) {
            return false;
        }
        Object this$userId = getUserId();
        Object other$userId = other.getUserId();
        if (this$userId == null) {
            if (other$userId != null) {
                return false;
            }
        } else if (!this$userId.equals(other$userId)) {
            return false;
        }
        Object this$flowNo = getFlowNo();
        Object other$flowNo = other.getFlowNo();
        if (this$flowNo == null) {
            if (other$flowNo != null) {
                return false;
            }
        } else if (!this$flowNo.equals(other$flowNo)) {
            return false;
        }
        Object this$uploadFileList = getUploadFileList();
        Object other$uploadFileList = other.getUploadFileList();
        if (this$uploadFileList == null) {
            if (other$uploadFileList != null) {
                return false;
            }
        } else if (!this$uploadFileList.equals(other$uploadFileList)) {
            return false;
        }
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null) {
            if (other$createTime != null) {
                return false;
            }
        } else if (!this$createTime.equals(other$createTime)) {
            return false;
        }
        Object this$updateTime = getUpdateTime();
        Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null) {
            if (other$updateTime != null) {
                return false;
            }
        } else if (!this$updateTime.equals(other$updateTime)) {
            return false;
        }
        Object this$planCommenceTime = getPlanCommenceTime();
        Object other$planCommenceTime = other.getPlanCommenceTime();
        if (this$planCommenceTime == null) {
            if (other$planCommenceTime != null) {
                return false;
            }
        } else if (!this$planCommenceTime.equals(other$planCommenceTime)) {
            return false;
        }
        Object this$requiredCompletionTime = getRequiredCompletionTime();
        Object other$requiredCompletionTime = other.getRequiredCompletionTime();
        if (this$requiredCompletionTime == null) {
            if (other$requiredCompletionTime != null) {
                return false;
            }
        } else if (!this$requiredCompletionTime.equals(other$requiredCompletionTime)) {
            return false;
        }
        if (Double.compare(getBudgetAmount(), other.getBudgetAmount()) != 0) {
            return false;
        }
        Object this$orderUserId = getOrderUserId();
        Object other$orderUserId = other.getOrderUserId();
        return this$orderUserId == null ? other$orderUserId == null : this$orderUserId.equals(other$orderUserId);
    }

    protected boolean canEqual(Object other) {
        return other instanceof Repair;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $assetsIds = getAssetsIds();
        int result2 = (result * 59) + ($assetsIds == null ? 43 : $assetsIds.hashCode());
        Object $type = getType();
        int result3 = (result2 * 59) + ($type == null ? 43 : $type.hashCode());
        Object $taskSourceId = getTaskSourceId();
        int result4 = (result3 * 59) + ($taskSourceId == null ? 43 : $taskSourceId.hashCode());
        Object $urgent = getUrgent();
        int result5 = (result4 * 59) + ($urgent == null ? 43 : $urgent.hashCode());
        Object $content = getContent();
        int result6 = (result5 * 59) + ($content == null ? 43 : $content.hashCode());
        Object $roadCrossId = getRoadCrossId();
        int result7 = (result6 * 59) + ($roadCrossId == null ? 43 : $roadCrossId.hashCode());
        Object $userId = getUserId();
        int result8 = (result7 * 59) + ($userId == null ? 43 : $userId.hashCode());
        Object $flowNo = getFlowNo();
        int result9 = (result8 * 59) + ($flowNo == null ? 43 : $flowNo.hashCode());
        Object $uploadFileList = getUploadFileList();
        int result10 = (result9 * 59) + ($uploadFileList == null ? 43 : $uploadFileList.hashCode());
        Object $createTime = getCreateTime();
        int result11 = (result10 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
        Object $updateTime = getUpdateTime();
        int result12 = (result11 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode());
        Object $planCommenceTime = getPlanCommenceTime();
        int result13 = (result12 * 59) + ($planCommenceTime == null ? 43 : $planCommenceTime.hashCode());
        Object $requiredCompletionTime = getRequiredCompletionTime();
        int result14 = (result13 * 59) + ($requiredCompletionTime == null ? 43 : $requiredCompletionTime.hashCode());
        long $budgetAmount = Double.doubleToLongBits(getBudgetAmount());
        int result15 = (result14 * 59) + ((int) (($budgetAmount >>> 32) ^ $budgetAmount));
        Object $orderUserId = getOrderUserId();
        return (result15 * 59) + ($orderUserId == null ? 43 : $orderUserId.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "Repair(id=" + getId() + ", assetsIds=" + getAssetsIds() + ", type=" + getType() + ", taskSourceId=" + getTaskSourceId() + ", urgent=" + getUrgent() + ", content=" + getContent() + ", roadCrossId=" + getRoadCrossId() + ", userId=" + getUserId() + ", flowNo=" + getFlowNo() + ", uploadFileList=" + getUploadFileList() + ", createTime=" + getCreateTime() + ", updateTime=" + getUpdateTime() + ", planCommenceTime=" + getPlanCommenceTime() + ", requiredCompletionTime=" + getRequiredCompletionTime() + ", budgetAmount=" + getBudgetAmount() + ", orderUserId=" + getOrderUserId() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getAssetsIds() {
        return this.assetsIds;
    }

    public Integer getType() {
        return this.type;
    }

    public Integer getTaskSourceId() {
        return this.taskSourceId;
    }

    public Integer getUrgent() {
        return this.urgent;
    }

    public String getContent() {
        return this.content;
    }

    public Integer getRoadCrossId() {
        return this.roadCrossId;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public String getFlowNo() {
        return this.flowNo;
    }

    public List<UpoladEachTypeImages> getUploadFileList() {
        return this.uploadFileList;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public String getPlanCommenceTime() {
        return this.planCommenceTime;
    }

    public String getRequiredCompletionTime() {
        return this.requiredCompletionTime;
    }

    public double getBudgetAmount() {
        return this.budgetAmount;
    }

    public Integer getOrderUserId() {
        return this.orderUserId;
    }
}